package com.yamaikj.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "user-service-controller",fallbackFactory = UserServiceHystric.class)
public interface UserServiceFeign {

    @RequestMapping(value = "/user/save")
    String save();

}
